.fl {
  float: left;
}

.fr {
  float: right;
}

/* 头部开始 */
#header {
  display: block;
  position: relative;
  width: 100%;
  background-color: #000;
  border-bottom: 2px solid #cd3333;
  height: 40px;
  line-height: 40px;
  z-index: 20;
  font-size: 15px;
}

#header .header-content {
  width: 970px;
  height: 40px;
  margin: 0 auto;
  position: relative;
}

/* 头部的左边 */
#header .header-content .header-nav {
  float: left;
}

#header .header-content .header-nav li,
#header .header-content .header-opts li {
  display: inline-block;
  z-index: 0;
  height: 40px;
  line-height: 40px;
}

#header .header-content .header-nav li,
#header .header-content .header-nav li>a,
#header .header-content .header-opts li,
#header .header-content .header-opts li>a {
  color: #fff;
  height: 40px;
  line-height: 40px;
  position: relative;
}

#header .header-content .header-nav li>a,
#header .header-content .header-opts li>a {
  padding: 0 20px;
  line-height: 20px;
}

#header .header-content .header-nav li>a:hover,
#header .header-content .header-nav .active a,
#header .header-content .header-opts li>a:hover {
  color: #cd3333;
}

#header .header-content .header-nav .homepage>a {
  padding: 10px 20px 0 10px;
}

#header .header-content .header-nav .homepage a:after {
  width: 18px;
  height: 18px;
  background-image: url(../image/sprite-icons.png);
  background-position: -620px -194px;
  background-size: 693px 688px;
  content: "";
  display: block;
  float: left;
  margin-right: -6px;
  margin-top: 11px;
}

#header .header-content .header-nav .active a:after {
  width: 18px;
  height: 18px;
  background-image: url(../image/sprite-icons.png);
  background-position: -227px -488px;
  background-size: 693px 688px;
}

#header .header-content .header-opts {
  float: right;
  text-align: center;
}

#header .header-content .header-opts .header-input.homepage {
  position: absolute;
  right: 10px;
  top: 150px;
}

#header .header-content .header-opts .header-input {
  margin-right: 10px;
  font-size: 12px;
  opacity: 0.9;
}

#header .header-content .header-opts .header-input .search-text {
  width: 220px;
}

#header .header-content .header-opts .header-input .search-text {
  display: inline;
  box-sizing: border-box;
  height: 29px;
  margin: 6px 0 0;
  padding: 0 34px 0 10px;
  border-radius: 20px;
  background-color: #fff;
  color: #000;
  line-height: 29px;
  outline: 0;
  border: 1px solid #ccc;
}

#header .header-content .header-opts .header-input .btn {
  width: 36px;
  position: absolute;
  top: 6px;
  right: 0;
  bottom: 5px;
  margin: 0;
  border: 0;
  outline: 0;
  height: auto;
  cursor: pointer;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

#header .header-content .header-opts .header-input .btn:after {
  width: 18px;
  height: 18px;
  background-image: url(../image/sprite-icons.png);
  background-position: -423px -466px;
  background-size: 693px 688px;
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  right: 10px;
}

#header .header-content .header-opts .upload {
  background-color: #cd3333;
}

#header .header-content .header-opts .upload:hover {
  background-color: #ee2c2c;
}

#header .header-content .header-opts .upload a:hover {
  color: #fff;
}

#header .header-content:before {
  content: "";
  display: block;
  clear: both;
}